package com.zr.inquiry.spare.model.pojo;

import com.zr.share.config.ErrorMassage;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName InquirySpareDetailsVo
 * @Description TODO
 * @Author Jiakui_Ma
 * @Date 2019/11/15 19:49
 */
@Data
public class InquirySpareDetailsVo {
    @NotBlank(message = ErrorMassage.SPARE_CODE_NOT_NULL)
    private String spareCoding;
    @NotBlank(message = ErrorMassage.SPARE_NAME_NOT_NULL)
    private String spareName;
    @NotNull(message = ErrorMassage.SPARE_MOQ_NOT_NULL)
    private Integer moq;
    private Integer currencyCode;
    private String currencyCodeName;
    private String currencyCodeWord;
    private Integer type;
    @NotNull(message = ErrorMassage.SPARE_NUMBER_NOT_NULL)
    private Integer inquiryQty;
    @NotNull(message = ErrorMassage.SPARE_DELIVERY_CYCLE_NOT_NULL)
    private Integer deliveryCycle;
    private Integer inquiryId;
    private String measurementUnit;
    private Integer id;
}
